package com.beidu.lottery.call.service.portal;

import com.baomidou.mybatisplus.extension.service.IService;
import com.beidu.lottery.call.entity.ActivityBaseInfo;
import com.beidu.lottery.call.entity.form.InfoSaveStep1Form;
import com.beidu.lottery.call.entity.form.InfoSaveStep2Form;
import com.beidu.lottery.call.entity.query.ActivityListQuery;
import com.beidu.lottery.call.entity.vo.ActivityInfoListVO;
import com.beidu.lottery.call.entity.vo.ActivityInfoStep1VO;
import com.beidu.lottery.call.entity.vo.ActivityInfoStep2VO;
import com.github.pagehelper.PageInfo;

/**
 * <p>
 * 活动基础信息表 服务类
 * </p>
 */
public interface ActivityBaseInfoService extends IService<ActivityBaseInfo> {

    /**
     * 查询活动列表
     *
     * @param query
     * @return
     */
    PageInfo<ActivityInfoListVO> queryActivityList(ActivityListQuery query);

    /**
     * cc
     *
     * @param form
     */
    Integer saveBaseInfoStep1(InfoSaveStep1Form form);

    /**
     * 查询活动基础信息
     *
     * @param id 活动id
     * @return
     */
    ActivityInfoStep1VO queryInfoStep1(Integer id);

    /**
     * 保存活动规则相关
     *
     * @param form
     */
    void saveBaseInfoStep2(InfoSaveStep2Form form);

    /**
     * 查询活动规则相关
     *
     * @param id 活动id
     * @return
     */
    ActivityInfoStep2VO queryInfoStep2(Integer id);


}
